package com.sc.gateway.client;

import com.sc.gateway.dto.ResultDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Component
@FeignClient(name = "sys-config")
public interface SysConfigClient {

    @RequestMapping(value = "sysUser/getUserById/{id}", method = RequestMethod.GET)
    ResultDTO getUserById(@PathVariable Integer id);

}
